package com.jasonzqshen.ifm.featureModelCore.arguments;

import com.jasonzqshen.ifm.collections.treeCollection.arguments.TreeCollectionArgs;
import com.jasonzqshen.ifm.featureModelCore.FMTypes.FMCrossTreeConstaintType;
import com.jasonzqshen.ifm.utils.Identifier;

public class ConstraintCreatedArgs extends TreeCollectionArgs {

    private Identifier idA;

    private Identifier idB;

    private FMCrossTreeConstaintType cType;

    public ConstraintCreatedArgs(Object sender, Identifier idA, Identifier idB,
            FMCrossTreeConstaintType cType) {
        super(sender);

        this.idA = idA;
        this.idB = idB;
        this.cType = cType;
    }

    public Identifier getIdA() {
        return this.idA;
    }

    public Identifier getIdB() {
        return this.idB;
    }

    public FMCrossTreeConstaintType getConstraintType() {
        return this.cType;
    }

}
